<!doctype html>
<!--[if lt IE 7]>
<html class="lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]-->
<!--[if IE 7]>
<html class="lt-ie9 lt-ie8" lang="en-US"> <![endif]-->
<!--[if IE 8]>
<html class="lt-ie9" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en-US"> <!--<![endif]-->
<head>
    <!-- META TAGS -->
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Question answer</title>

    <link rel="shortcut icon" href="/static/pic/public/logo.png" />

    <!-- Style Sheet-->

    <link rel='stylesheet' id='bootstrap-css-css' href='/static/knowledge/css/bootstrap5152.css' type='text/css' media='all'/>
    <link rel='stylesheet' id='responsive-css-css' href='/static/knowledge/css/responsive5152.css' type='text/css' media='all'/>
    <link rel='stylesheet' id='pretty-photo-css-css' href='/static/knowledge/js/prettyphoto/prettyPhotoaeb9.css' type='text/css' media='all'/>
    <link rel='stylesheet' id='main-css-css' href='/static/knowledge/css/main5152.css' type='text/css' media='all'/>
    <link rel='stylesheet' id='green-skin-css' href='/static/knowledge/css/green-skin5152.css' type='text/css' media='all'/>
    <link rel='stylesheet' id='custom-css-css' href='/static/knowledge/css/custom5152.html' type='text/css' media='all'/>
    <link rel="stylesheet" href="/static/knowledge/css/style.css"/>

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="js/html5.js"></script>
    <![endif]-->

</head>

<body>

<!-- Start of Header -->
<div class="header-wrapper">
    <header style="box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5), 0 1px rgba(0,0,0,0.1);">
        <div class="container">


            <div class="logo-container">
                <!-- Website Logo -->
                <a href="index-2.html" title="Php Method">
                    <img src="/static/pic/public/phpmethod.png" alt="Php Method">
                </a>
                <span class="tag-line">Knowledge Base</span>
            </div>


            <!-- Start of Main Navigation -->
            <nav class="main-nav">
                <div class="menu-top-menu-container">
                    <ul id="menu-top-menu" class="clearfix">
                        <!--<li class="current-menu-item">-->
                        <!--<form action="/search" class="header-search  hidden-sm hidden-xs pull-right">-->
                        <!--<button class="btn btn-link"><span class="sr-only">搜索</span><span class="glyphicon glyphicon-search"></span></button>-->
                        <!--<input id="searchBox" name="q" type="text" placeholder="搜索问题或关键字" class="form-control" value="">-->
                        <!--</form>-->
                        <!--</li>-->
                        <li class="current-menu-item"><a href="/">主页</a></li>
                        <!--<li><a href="home-categories-description.html">Home 2</a></li>-->
                        <!--<li><a href="home-categories-articles.html">Home 3</a></li>-->
                        <!--<li><a href="articles-list.html">文章列表</a></li>-->
                        <!--<li><a href="faq.html">问答</a></li>-->
                        <!--<li><a href="#">风格切换</a>-->
                            <!--<ul class="sub-menu">-->
                                <!--<li><a href="blue-skin.html">Blue Skin</a></li>-->
                                <!--<li><a href="green-skin.html">Green Skin</a></li>-->
                                <!--<li><a href="red-skin.html">Red Skin</a></li>-->
                                <!--<li><a href="index-2.html">Default Skin</a></li>-->
                            <!--</ul>-->
                        <!--</li>-->
                        <!--<li><a href="#">更多</a>-->
                            <!--<ul class="sub-menu">-->
                                <!--<li><a href="full-width.html">Full Width</a></li>-->
                                <!--<li><a href="elements.html">Elements</a></li>-->
                                <!--<li><a href="page.html">Sample Page</a></li>-->
                            <!--</ul>-->
                        <!--</li>-->
                        {if $islogin == 0}
                        <li><a href="{:url('/list/php')}">文章列表</a></li>
                        <li><a href="{:url('user/login')}">登录</a></li>
                        {else /}
                        <li><a href="#">{:cookie('username')}</a>
                        <li><a href="{:url('/list/php')}">文章列表</a></li>
                        <li><a href="{:url('article/markdown')}">写文章</a></li>
                        <li><a href="#">博客园</a></li>
                        <li><a href="logout">退出</a></li>
                        </li>
                        {/if}
                    </ul>
                </div>
            </nav>
            <!-- End of Main Navigation -->

        </div>
    </header>
</div>
<!-- End of Header -->


